////////////////////////////////////////////////////////////////////////////////
//
// Aranya Code
// author: TonyHack
// E-mail: tonyjobmails@gmail.com
//
// filename: type.h
// function:  一些公共类型的定义
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _TYPE_H
#define _TYPE_H

#define _END	std::string::npos
#define _ZERO	0

namespace aranya_type
{
	//8字节
	typedef signed char		int8;
	typedef unsigned char		uint8;

	//16字节
	typedef signed short int	int16;
	typedef unsigned short int	uint16;

	//32字节
	typedef signed int		int32;
	typedef unsigned int		uint32;

	//64字节
	typedef signed long long int	int64;
	typedef unsigned long long int	uint64;
};

#endif
